Any stream with an internal buffer should override this method and provide a much more efficient version that writes to the buffer directly , avoiding the extra array allocation on every call 所有具有內部緩沖區的流都應重寫此方法,提供一個直接寫入緩沖區的有效得多的版本,以避免每次調用時都要進行額外的數組分配。
Any stream with an internal buffer should override this method and provide a much more efficient version that reads the buffer directly , avoiding the extra array allocation on every call 所有具有內部緩沖區的流都應重寫此方法,并提供一個可以直接讀取緩沖區的更為有效的版本,從而避免每次調用都要進行額外的數組分配。